{{ define "main" }}
    {{ partial "main.html" . }}
{{ end }}

{{ define "sidebar" }}
    {{ partial "sidebar.html" . }}
    {{ partial "toc.html" . }}
{{ end }}